<?php
include_once 'mobilecommon.php';
echo gmtime();
echo date('Z');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<style>
textarea {
	width: 100%;
	overflow: auto;
	word-break: break-all;
}

ul {
	margin: 0;
	padding: 0;
}

li {
	margin: 50px 0px 50px 0px;
	padding: 0;
	list-style-type: none;
}

#listdiv a {
	width: 228px;
	float: left;
	line-height: 18px;
	height: 38px;
	padding: 5px;
	margin: 10px;
	border: 1px dotted #666666;
	background: #EEEEEE;
}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script>
function format(txt,compress/*是否为压缩模式*/){/* 格式化JSON源码(对象转换为JSON文本) */  
    var indentChar = '    ';   
    if(/^\s*$/.test(txt)){   
        alert('数据为空,无法格式化! ');   
        return;   
    }   
    try{var data=eval('('+txt+')');}   
    catch(e){   
        alert('数据源语法错误,格式化失败! 错误信息: '+e.description,'err');   
        return;   
    };   
    var draw=[],last=false,This=this,line=compress?'':'\n',nodeCount=0,maxDepth=0;   
       
    var notify=function(name,value,isLast,indent/*缩进*/,formObj){   
        nodeCount++;/*节点计数*/  
        for (var i=0,tab='';i<indent;i++ )tab+=indentChar;/* 缩进HTML */  
        tab=compress?'':tab;/*压缩模式忽略缩进*/  
        maxDepth=++indent;/*缩进递增并记录*/  
        if(value&&value.constructor==Array){/*处理数组*/  
            draw.push(tab+(formObj?('"'+name+'":'):'')+'['+line);/*缩进'[' 然后换行*/  
            for (var i=0;i<value.length;i++)   
                notify(i,value[i],i==value.length-1,indent,false);   
            draw.push(tab+']'+(isLast?line:(','+line)));/*缩进']'换行,若非尾元素则添加逗号*/  
        }else   if(value&&typeof value=='object'){/*处理对象*/  
                draw.push(tab+(formObj?('"'+name+'":'):'')+'{'+line);/*缩进'{' 然后换行*/  
                var len=0,i=0;   
                for(var key in value)len++;   
                for(var key in value)notify(key,value[key],++i==len,indent,true);   
                draw.push(tab+'}'+(isLast?line:(','+line)));/*缩进'}'换行,若非尾元素则添加逗号*/  
            }else{   
                    if(typeof value=='string')value='"'+value+'"';   
                    draw.push(tab+(formObj?('"'+name+'":'):'')+value+(isLast?'':',')+line);   
            };   
    };   
    var isLast=true,indent=0;   
    notify('',data,isLast,indent,false);   
    return draw.join('');   
}  
function servicesubmit(sender){
	$("#p").val($("#"+sender).val());
	if($("#methodtype").attr('checked')){
		$("#formid").attr("method","post").attr("target","_blank");
	}
	else{
		$("#formid").attr("method","post").attr("target","_self");
	}
}
function farea(sender){
	try{
		var a=format($("#"+sender).val());
		if(a!=undefined && a!=null && a!="")
		$("#"+sender).val(a);
		$("textarea").each(function(){ $(this).css("height",$(this).attr("scrollHeight")); });
	}
	catch(exp){
		alert(exp.message);
	}
}
function getlist(){
	$("li").each(function(){
		$("#listdiv").append("<a href=#"+$(this).find("textarea").attr("id")+" >"+$(this).find("button")[0].innerHTML+$(this).find("textarea").attr("id")+"</a>");
		});
}
$(function(){
	getlist();
});
</script>
<div style="width: 100%; overfloat: auto; word-break: break-all;"><?php echo $_POST["r"]?></div>
<button type="button" onclick="farea('resulttext');">格式化</button>
<br />
<textarea
	style="border: 1px solid #DEDEDE; word-break: break-all; padding: 5px;"
	id="resulttext"></textarea>
<form id="formid"
	action="ServiceService.php?XDEBUG_SESSION_START=ECLIPSE_DBGP"
	method="post" enctype="multipart/form-data"><input type="hidden" id="p"
	name="p" /><input type="hidden" id="alert" value="alert" name="alert" />
<input type="hidden" name="returnurl" value="test.php" /> <label><input
	type="radio" name="result" value="alert"
	<?php if(!empty($_POST["result"])){ ?> checked <?php }?> />不加密</label>
<label><input type="radio" name="result" value=""
	<?php if(empty($_POST["result"])){ ?> checked <?php }?> />加密</label> <label><input
	type="radio" id="methodtype" value="post" />Post</label>
<div id="listdiv"></div>
<ul>
<li><textarea id="boxn">{"op": "boxn","uid":"1","wmtid": "751"}</textarea>
        <br />
        <button type="submit" onclick="servicesubmit('boxn');">获取箱型</button>
        <button type="button" onclick="farea('boxn');">格式化</button>
        <br />
    </li>
<li><textarea id="addbox">{"op": "addbox","user_id":"1","boxno": "hhh","sealno": "13589467265","pic": "13589467265"}</textarea>
        <br />
        <button type="submit" onclick="servicesubmit('addbox');">提交箱号</button>
        <button type="button" onclick="farea('addbox');">格式化</button>
        <br />
    </li>
    <li><textarea id="getbox">{"op": "getbox","uid":"1","wmtid": "751"}</textarea>
        <br />
        <button type="submit" onclick="servicesubmit('getbox');">箱单</button>
        <button type="button" onclick="farea('getbox');">格式化</button>
        <br />
    </li>
    <li><textarea id="add_user">{"op": "add_user","user_id":"1","user_name": "hhh","phone_tel": "13589467265"}</textarea>
        <br />
        <button type="submit" onclick="servicesubmit('add_user');">添加用户</button>
        <button type="button" onclick="farea('add_user');">格式化</button>
        <br />
    </li>
    <li><textarea id="haul_main">{"op": "haul_main","user_id":"1","tid": "13","w_tid": "4","zhdm_type": "集港","zhdm_name": "测试","zhdm_consignor": "所有货主","zhdm_note": "发给对方ddd",
            "haul":[{"h_tid":57,"h_w_tid":8,"h_short_name": "辅导费q’","h_name": "发给a","h_type": "0","h_linkman":"电饭锅","h_linkman_tel":"46546","h_date":"2017/6/23 15:34:42","h_address":"是德国法国","h_order":"0","h_range":"0","h_required":"0",
            "item":[{"hc_tid":73,"hc_w_tid":19,"h_collect_type":"0","h_collect_des":"对方感到","h_collect_val":"赶紧回家"}]}]}</textarea>
        <br />
        <button type="submit" onclick="servicesubmit('haul_main');">运程方案</button>
        <button type="button" onclick="farea('haul_main');">格式化</button>
        <br />
    </li>
    <li><textarea id="rail_define">{"op": "rail_define","id":"1","name": "","lat": "","lng": "","offset": "","status": ""}</textarea>
        <br />
        <button type="submit" onclick="servicesubmit('rail_define');">添加围栏</button>
        <button type="button" onclick="farea('rail_define');">格式化</button>
        <br />
    </li>
<li><textarea id="createwaybillinout">{"op": "createwaybillinout","wm_op":"bangdajk","wm_code": "PC-20160800031","g_op": "zqhz","g_owner": "中青货主","g_owner_tel": "13687617749","g_type": "集卡进口","g_ship": "张维好","g_voyage": "张维好","g_awb_code": "0803002","g_packingtime": "2016/8/4 8:00:00","g_collectiontime": "2016/8/4 8:00:00","g_container_depot": "黄岛QQCT","g_container_lng": "120.389445","g_container_lat": "36.072358","g_full_container_depot": "黄岛QQCT","g_full_container_lng": "120.389445","g_full_container_lat": "36.072358","g_loading_place": "莱茵化学","g_loading_lng": "0","g_loading_lat": "0","g_container_man": "李先生","g_container_tel": "15645354325","g_loading_man": "","g_loading_tel": "","g_full_container_man": "李先生","g_full_container_tel": "15645354325","g_note": "","wm_requiredl_note": "确认发车","wm_vhc_code": "京A10086","wm_driver": "18753224697","wm_driver_tel": "18753224697","zmm_tid": "0","zhdm_tid": "32","g_sub":[{"g_box": "40’","g_volume": "1.0000","g_ctn_no": ""}],"rnd": "ffffffff-84d8-2a24-374e-90a70033c587","uid": 1,"version": "1.0","system": "android","opdt": "yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('createwaybillinout');">创建运单集卡</button>
	<button type="button" onclick="farea('createwaybillinout');">格式化</button>
	<br />
	</li>
	<li><textarea id="company">{"op":"company","uid":2,"key":"地中海","version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
		<br />
		<button type="submit" onclick="servicesubmit('company ');">船名称</button>
		<button type="button" onclick="farea('company ');">格式化</button>
		<br />
	</li>
	<li><textarea id="station">{"op":"station","uid":2,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
		<br />
		<button type="submit" onclick="servicesubmit('station ');">场站</button>
		<button type="button" onclick="farea('station ');">格式化</button>
		<br />
	</li>
	<li><textarea id="box">{"op":"box","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
		<br />
		<button type="submit" onclick="servicesubmit('box ');">箱型</button>
		<button type="button" onclick="farea('box ');">格式化</button>
		<br />
	</li>
	<li><textarea id="check">{"op":"check","sid":"10","station":"01","box":"40GP","quantity":"1","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>

		<br />
		<button type="submit" onclick="servicesubmit('check');">是否可预约</button>
		<button type="button" onclick="farea('check');">格式化</button>
		<br />
	</li>

	<li><textarea id="add_order">{"op":"add_order","rem":"test","yy_no":"YY76160014","vhccode":"12356","tel":"13697660756","sid":"10","station":"01","box":"40GP","quantity":"1","ship_name":"船1","voyage":"1","bill":"46562312165","th_time":"2017-04-30","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
 
		<br />
		<button type="submit" onclick="servicesubmit('add_order');">预约</button>
		<button type="button" onclick="farea('add_order');">格式化</button>
		<br />
	</li>
	<li><textarea id="order_list">{"op":"order_list","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
		<br />
		<button type="submit" onclick="servicesubmit('order_list ');">预约订单列表</button>
		<button type="button" onclick="farea('order_list ');">格式化</button>
		<br />
	</li>
	<li><textarea id="order">{"op":"order","user_name":"test","version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
		<br />
		<button type="submit" onclick="servicesubmit('order ');">外部调用预约订单</button>
		<button type="button" onclick="farea('order ');">格式化</button>
		<br />
	</li>
	<li><textarea id="update_order">{"op":"update_order","rid":"2","rcode":"http://1234154.com","contact_tel":"13566464"}</textarea>
		<br />
		<button type="submit" onclick="servicesubmit('update_order');">外部更新预约订单</button>
		<button type="button" onclick="farea('update_order');">格式化</button>
		<br />
	</li>

<li><textarea id="pt_palletcheckD">{"op":"pt_palletcheckD","plate":"鲁BT7375","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('pt_palletcheckD');">解拖板</button>
	<button type="button" onclick="farea('pt_palletcheckD');">格式化</button>
	<br />
	</li>
	<li><textarea id="pt_palletcheckB">{"op":"pt_palletcheckB","plate":"鲁BT7375","pallet":"123","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('pt_palletcheckB');">挂拖板</button>
	<button type="button" onclick="farea('pt_palletcheckB');">格式化</button>
	<br />
	</li>
<li><textarea id="pt_palletcheckQ">{"op":"pt_palletcheckQ","plate":"鲁BT7375","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('pt_palletcheckQ');">查当前拖板</button>
	<button type="button" onclick="farea('pt_palletcheckQ');">格式化</button>
	<br />
	</li>
<li><textarea id="pt_plateadd">{"op":"pt_plateadd","plate":"5","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('pt_plateadd');">车号登记</button>
	<button type="button" onclick="farea('pt_plateadd');">格式化</button>
	<br />
	</li>
<li><textarea id="waybilllist">{"row":"0","size":"10","accept":"0","vcode":"京Aj1568","op":"waybilllist","action":"waybilllist","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":"13","version":"1.9.1","system":"android","opdt":"20161011135323","gps":{"address":"中国山东省青岛市城阳区火炬路","time":"2016-10-11 13:22:46","lat":"36.264583","lng":"120.280046","speed":"0.000000"}}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('waybilllist');">运单列表</button>
	<button type="button" onclick="farea('waybilllist');">格式化</button>
	<br />
	</li>
	
	<li><textarea id="getpaypwd">{"op":"getpaypwd","tel":"18562555268","code":"1234","newpsw":"123456","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('getpaypwd');">找回支付密码（重置）</button>
	<button type="button" onclick="farea('getpaypwd');">格式化</button>
	<br />
	</li>

	<li><textarea id="didiabout">{"op":"didiabout","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('didiabout ');">关于滴滴洗车</button>
	<button type="button" onclick="farea('didiabout ');">格式化</button>
	<br />
	</li>
	<li><textarea id="didiprotocol">{"op":"didiprotocol","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('didiprotocol ');">服务协议</button>
	<button type="button" onclick="farea('didiprotocol ');">格式化</button>
	<br />
	</li>


	<li><textarea rows="" cols="" id="getuser">{"op":"getuser","a":"ykadmin","p":"123456","r":[{"province":"山东省","city":"青岛","district":"李沧区" ,"street":"李村"}],"rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('getuser');">接口测试</button>
	</li>
	<li><textarea id="authcode">{"op":"authcode","t":"13687617749","type":"注册","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"20150505120133"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('authcode');">获取验证码</button>
	<button type="button" onclick="farea('authcode');">格式化</button>
	<br />
	</li>
	<li><textarea id="valicode">{"op":"valicode","t":"13687617749","c":"10878","type":"注册","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"20150505120133"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('valicode');">验证验证码</button>
	<button type="button" onclick="farea('valicode');">格式化</button>
	<br />
	</li>
	<li><textarea id="reg">{"op":"reg","t":"13687617749","c":"18017","p":"123456","r":[{"province":"山东省","city":"青岛","district":"李沧区" ,"street":"李村"}],"rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"20150505120133"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('reg');">用户注册</button>
	<button type="button" onclick="farea('reg');">格式化</button>
	</li>
	<li><textarea id="login">{"op":"login","a":"ykadmin","p":"123456","r":[{"province":"山东省","city":"青岛","district":"李沧区" ,"street":"李村"}],"rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('login');">用户登录</button>
	<button type="button" onclick="farea('login');">格式化</button>
	<br />
	</li>
	<li><textarea id="edituser">{"op":"edituser","birthday":"2015-06-02 00:00","user_id":"1","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('edituser');">修改用户信息</button>
	<button type="button" onclick="farea('edituser');">格式化</button>
	<br />
	</li>
	<li><textarea id="getservices">{"op":"getservices","r":[{"province":"山东省","city":"青岛","district":"李沧区" ,"street":"李村"}],"rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('getservices');">通过区域获取服务价格和车型价格</button>
	<button type="button" onclick="farea('getservices');">格式化</button>
	<br />
	</li>
	<li><textarea id="vhcmodel">{"op":"vhcmodel","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('vhcmodel');">车辆类型</button>
	<button type="button" onclick="farea('vhcmodel');">格式化</button>
	<br />
	</li>

	<li><textarea id="getpaytype">{"op":"getpaytype","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('getpaytype');">支付方式</button>
	<button type="button" onclick="farea('getpaytype');">格式化</button>
	<br />
	</li>
	<li><textarea id="addresstype">{"op":"addresstype","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('addresstype');">常用地址类型</button>
	<button type="button" onclick="farea('addresstype');">格式化</button>
	<br />
	</li>
	<li><textarea id="getweixincharge">{"op":"getweixincharge","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":0,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('getweixincharge');">微信充值金额</button>
	<button type="button" onclick="farea('getweixincharge');">格式化</button>
	<br />
	</li>
	<li><textarea id="getaddr">{"op":"getaddr","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('getaddr');">取得常用地址</button>
	<button type="button" onclick="farea('getaddr');">格式化</button>
	<br />
	</li>

	<li><textarea id="addaddr">{"op":"addaddr","ca_tid":"0","addr":"青岛市市南区香港中路6号","r":[{"province":"山东省","city":"青岛","district":"李沧区" ,"street":"李村"}],"type":"家","lat":"36.33","lng":"120.56","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('addaddr');">添加或编辑常用地址</button>
	<button type="button" onclick="farea('addaddr');">格式化</button>
	<br />
	</li>
	<li><textarea id="moveaddr">{"op":"moveaddr","id":"1","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('moveaddr');">移除常用地址</button>
	<button type="button" onclick="farea('moveaddr');">格式化</button>
	<br />
	</li>
	<li><textarea id="vehiclebrand">{"op":"vehiclebrand","row":"0","size":"1","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('vehiclebrand');">车辆品牌</button>
	<button type="button" onclick="farea('vehiclebrand');">格式化</button>
	<br />
	</li>
	<li><textarea id="vehiclebrandmodel">{"op":"vehiclebrandmodel","vbtid":"1","row":"0","size":"1","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('vehiclebrandmodel');">车辆品牌型号</button>
	<button type="button" onclick="farea('vehiclebrandmodel');">格式化</button>
	<br />
	</li>
	<li><textarea id="vehicleedit">{"op":"vehicleedit","v_tid":"0","v_code":"鲁B00000","v_brand":"一汽奥迪","v_model":"TT","v_type":"跑车","v_color":"白色","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('vehicleedit');">添加或编辑车辆</button>
	<button type="button" onclick="farea('vehicleedit');">格式化</button>
	<br />
	</li>


	<li><textarea id="getpassword">{"op":"getpassword","tel":"18562555268","code":"1234","newpsw":"123456","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('getpassword');">找回密码</button>
	<button type="button" onclick="farea('getpassword');">格式化</button>
	<br />
	</li>

	<li><textarea id="password">{"op":"password","oldpsw":"123456","newpsw":"123456","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('password');">修改密码</button>
	<button type="button" onclick="farea('password');">格式化</button>
	<br />
	</li>

	<li><textarea id="waybill">{"op":"waybill","wmtid":"1","receive":"1","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('waybill');">运单信息</button>
	<button type="button" onclick="farea('waybill');">格式化</button>
	<br />
	</li>

	<li><textarea id="autha">{"op":"auth","a_type":"0","a_username":"战胜国","a_driver_licence":"370200199000001234","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('autha');">实名认证</button>
	<button type="button" onclick="farea('autha');">格式化</button>
	<br />
	</li>

	<li><textarea id="authv">{"op":"auth","a_type":"1","a_vhc_code":"鲁B00544","a_vhc_model":"半挂","a_vhc_size":"10m","a_vhc_weight":"15t","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('authv');">车辆认证</button>
	<button type="button" onclick="farea('authv');">格式化</button>
	<br />
	</li>

	<li><textarea id="autho">{"op":"auth","a_type":"2","a_operator_code":"123456","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('autho');">运营商认证</button>
	<button type="button" onclick="farea('autho');">格式化</button>
	<br />
	</li>
	<li><textarea id="getauth">{"op":"authinfo","a_type":"2","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('getauth');">获取认证信息</button>
	<button type="button" onclick="farea('getauth');">格式化</button>
	<br />
	</li>
	<li><textarea id="addrbook">{"op":"addrbook","wmtid":"2","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('addrbook');">通讯录</button>
	<button type="button" onclick="farea('addrbook');">格式化</button>
	<br />
	</li>
	<li><textarea id="waybilllist">{"row":"0","size":"10","accept":"0","vcode":"京Aj1568","op":"waybilllist","action":"waybilllist","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":"13","version":"1.9.1","system":"android","opdt":"20161011135323","gps":{"address":"中国山东省青岛市城阳区火炬路","time":"2016-10-11 13:22:46","lat":"36.264583","lng":"120.280046","speed":"0.000000"}}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('waybilllist');">运单列表</button>
	<button type="button" onclick="farea('waybilllist');">格式化</button>
	<br />
	</li>
	<li><textarea id="exceptiontype">{"op":"exceptiontype","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('exceptiontype');">异常类别</button>
	<button type="button" onclick="farea('exceptiontype');">格式化</button>
	<br />
	</li>
	<li><textarea id="unacceptinfo">{"op":"unacceptinfo","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('unacceptinfo');">待接运单信息</button>
	<button type="button" onclick="farea('unacceptinfo');">格式化</button>
	<br />
	</li>
	<li><textarea id="exceptionlsit">{"op":"exceptionlsit","row":"0","size":"1","rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('exceptionlsit');">异常列表</button>
	<button type="button" onclick="farea('exceptionlsit');">格式化</button>
	<br />
	</li>
	<li><textarea id="exceptionsubmit">{"op":"exceptionsubmit","code":"code","type":"","content":"堵车","voice":"voice","note":"note","location":{"address":"address","date":"date","lng":"120.40","lat":"36.5"},"pics": [{"ea_content":"ea_content1"},{"ea_content":"ea_content2"}],"rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('exceptionsubmit');">异常提报</button>
	<button type="button" onclick="farea('exceptionsubmit');">格式化</button>
	<input id='f' type="file"/>
	
	<br />
	</li>
	<li><textarea id="haulsumbit">{"op":"haulsumbit","tid":"1","lng":120.22,"lat":36.60,"attr":[{"tid":"1","val":"val"},{"tid":"2","val":"val2"}],"rnd":"ffffffff-84d8-2a24-374e-90a70033c587","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('haulsumbit');">运程确认</button>
	<button type="button" onclick="farea('haulsumbit');">格式化</button>
	<br />
	</li>
	<li><textarea id="waybillsubmit">{"op":"waybillsubmit","tid":"1","type":0,"uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('waybillsubmit');">运单取消</button>
	<button type="button" onclick="farea('waybillsubmit');">格式化</button>
	<br />
	</li>
	<li><textarea id="waybillsubmit0">{"op":"waybillsubmit","tid":"1","type":1,"uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('waybillsubmit0');">开始运单</button>
	<button type="button" onclick="farea('waybillsubmit0');">格式化</button>
	<br />
	</li>
	<li><textarea id="waybillsubmit1">{"op":"waybillsubmit","tid":"334","type":0,"uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('waybillsubmit1');">完成运单</button>
	<button type="button" onclick="farea('waybillsubmit0');">格式化</button>
	<br />
	</li>
	<li><textarea id="bindchannelid">{"op":"bindchannelid","channelId":"3849309310203392735","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('bindchannelid');">绑定推送端口</button>
	<button type="button" onclick="farea('bindchannelid');">格式化</button>
	<br />
	</li>
	<li><textarea id="waybillnum">{"op":"waybillnum","uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('waybillnum');">累计接单</button>
	<button type="button" onclick="farea('waybillnum');">格式化</button>
	<br />
	</li>
	<li><textarea id="saveWayBillFee">{"op":"saveWayBillFee","fees":[{"wmtid":"3","fee":"4"},{"wmtid":"10","fee":"3"}],"uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('saveWayBillFee');">保存运费</button>
	<button type="button" onclick="farea('saveWayBillFee');">格式化</button>
	<br />
	</li>
	<li><textarea id="confirmwaybillfee">{"op":"confirmwaybillfee","fees":[{"wmtid":"3"},{"wmtid":"10"}],"uid":1,"version":"1.0","system":"android","opdt":"yyyyMMddHHmmss"}</textarea>
	<br />
	<button type="submit" onclick="servicesubmit('confirmwaybillfee');">确认结费</button>
	<button type="button" onclick="farea('saveWayBillFee');">格式化</button>
	<br />
	</li>
</ul>
</form>
<script>
document.getElementById("resulttext").innerHTML=(eval("'" + '<?php echo str_replace("'","\"",$_POST["result"]);?>' + "'"));
</script>
</html>
